Constraints for Query Optimization in Deductive Databases
نویسندگان
چکیده
There are many ways in which the query answering process for deductive databases may be optimised. At the heart of many of these methods is some form of constraint on the variables of the query, so that facts which are not relevant to the query are not computed. In this paper we show how fold/unfold transformations may be used to propagate some forms of constraint which are not captured by techniques such as magic sets. In particular, the fold/unfold transformation provides a straightforward way to propagate constraints involving multiple occurrence of a variable.
منابع مشابه
Constraint-Based Query Evaluation in Deductive Databases
Constraints play an important role in the efficient query evaluation in deductive databases. In this paper, constraint-based query evaluation in deductive databases is investigated, with the emphasis on linear recursions with function symbols. Constraints are classified into three classes: (i) rule constraints, (ii) integrity constraints, and (iii) query constraints. Techniques are developed fo...
متن کاملCombining Resolution and Classiication for Semantic Query Optimization in Dood ?
This paper proposes a framework for semantic query optimization in deductive object-oriented databases. The intentional database is described by means of clauses and a more restricted language is used for the integrity constraints. We apply a speciic resolution and a classii-cation mechanism to rewrite a query into a less expensive yet equivalent one. The main contribution of this paper is to s...
متن کاملFrom Extensional to Intensional Knowledge: Inductive Logic Programming Techniques and Their Application to Deductive Databases
This chapter aims at demonstrating that inductive logic programming (ILP), a recently established subfield of machine learning that induces first-order clausal theories from examples, combines very well with the area of deductive databases. In the context of deductive databases, induction can be defined as inference of intensional knowledge from extensional knowledge. Classification-oriented IL...
متن کاملAn Approach on Semantic Query Optimization for Deductive Databases
In this article we present a learning method to obtain rules for the semantic query optimization in deductive databases. Semantic query optimization can dramatically speed up deductive database query answering by knowledge intensive reformulation. We will present a learning method for rules that will help to semantically optimize queries for deductive databases.i We tried to change the algorith...
متن کاملSemantic Improvement of Deductive Databases
We assume that there is a deductive database hD; C i, where D is a set of stratiied rules and facts and C a set of constraints. Querying a database means returning all ground instances of the query which are true in the well deened standard model MD induced by D. Given a query Q it is transformed into a new query Q 0 , such that Q 0 will be less costly to be evaluated than Q, and such that Q 0 ...
متن کامل